package com.ssy.lingxi.order.model.vo.basic.request;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.util.List;

/**
 * 创建订单之前，查询支付方式接口参数
 * @author 万宁
 * @version 2.0.0
 * @date 2021-07-27
 */
@Setter
@Getter
public class AgentOrderProcessPayVO {
    /**
     * 商城Id
     */
    @NotNull(message = "商城Id要大于0")
    @Positive(message = "商城Id要大于0")
    private Long shopId;

    /**
     * 商品列表
     */
    @NotEmpty(message = "商品列表不能为空")
    private List<ProductIdVO> products;
}
